export default {
	setStorage(p) {
		let that = this;
		this.removeStorage(p.key);
		uni.setStorageSync(p.key, p.jsonstr);
		if (p.success) p.success();
	},
	getStorage(key) {
		let that = this;
		let val = uni.getStorageSync(key)
		return val;
	},
	removeStorage(key) {
		uni.removeStorageSync(key);
	}
}
